import { Models } from '../common/typings/model'

const dev = {
  environment: 'dev',
  database: {
    dbName: 'ts',
    host: '1.116.40.155',
    port: 3306,
    username: 'ts',
    password: 'HmmDYdLBSHF2LTzh',
  },
}
const product = {
  environment: 'product',
  database: {
    dbName: 'ts',
    host: '1.116.40.155',
    port: 3306,
    username: 'ts',
    password: 'HmmDYdLBSHF2LTzh',
  },
}
let config: Models.DbConfig = product
if (process.env.NODE_ENV === 'development') {
  config = dev
}

export default config
